/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xos_stl.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __XOS_STL_TOOLS_THREAD_LOCK_H__
#define __XOS_STL_TOOLS_THREAD_LOCK_H__

////////////////////////////////////////////////////////////////////////
// 

namespace xos_test
{

    class thread_lock
    {
    public:
        thread_lock();
        ~thread_lock();

    protected:

    public:
        int un_lock();
        int lock();
    };

} // xos_test

#endif // __XOS_STL_TOOLS_THREAD_LOCK_H__
